#include "http2/transport.h"
#include "src/http2/errors.h"

namespace http2 {
const SettingParameters global_settings_parameters[HTTP2_NUMBER_OF_SETTINGS] = {
    {"NULL", 0u, 0u, 0u, HTTP2_CLAMP_INVALID_VALUE, HTTP2_NO_ERROR},
    {"HEADER_TABLE_SIZE", 4096u, 0u, 4294967295u, HTTP2_CLAMP_INVALID_VALUE, HTTP2_PROTOCOL_ERROR},
    {"ENABLE_PUSH", 1u, 0u, 1u, HTTP2_DISCONNECT_ON_INVALID_VALUE, HTTP2_PROTOCOL_ERROR},
    {"MAX_CONCURRENT_STREAMS", 4294967295u, 0u, 4294967295u, HTTP2_DISCONNECT_ON_INVALID_VALUE, HTTP2_PROTOCOL_ERROR},
    {"INITIAL_WINDOW_SIZE", 65535u, 0u, 2147483647u, HTTP2_DISCONNECT_ON_INVALID_VALUE, HTTP2_FLOW_CONTROL_ERROR},
    {"MAX_FRAME_SIZE", 16384u, 16384u, 16777215u, HTTP2_DISCONNECT_ON_INVALID_VALUE, HTTP2_PROTOCOL_ERROR},
    {"MAX_HEADER_LIST_SIZE", 16777216u, 0u, 16777216u, HTTP2_CLAMP_INVALID_VALUE, HTTP2_PROTOCOL_ERROR},
};
}  // namespace http2
